<?php
/*
 * The default template for displaying link
 */
?>

<!-- Start of blog wrapper -->
<article class="blog_wrapper">

<?php // Get the text & url from the first link in the content
$content = get_the_content();
$link_string = extract_from_string('<a href=', '/a>', $content);
$link_bits = explode('"', $link_string);
foreach( $link_bits as $bit ) {
	if( substr($bit, 0, 1) == '>') $link_text = substr($bit, 1, strlen($bit)-2);
	if( substr($bit, 0, 4) == 'http') $link_url = $bit;
}?>

<!-- Start of blog wrapper -->
<article class="blog_wrapper">

<div class="featured_text_link_wrapper">

</div>

<!-- Start of featured text link -->
<div class="featured_text_link">

<?php the_excerpt(); ?>

</div><!-- End of featured text link -->

<!-- Start of featured text quote title -->
<div class="featured_text_quote_title">
<a href="<?php echo $link_url;?>"><?php echo $link_url;?></a>

</div><!-- End of featured text quote title -->

<!-- Start of clear fix --><div class="clear"></div>      

</article><!-- End of blog wrapper -->